package com.aracky.assess.service;

import com.aracky.assess.model.entity.HrKpiUserAssessorConfig;
import com.aracky.assess.model.entity.HrKpiUserPerformanceDetail;
import com.aracky.assess.model.vo.HrKpiUserPerformanceDetailVO;
import com.aracky.assess.model.vo.SysDeptPostName;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户绩效考核明细 服务类
 * </p>
 *
 * @author zzp
 * @since 2022-08-01 09:48:11
 */
public interface HrKpiUserPerformanceDetailService extends IService<HrKpiUserPerformanceDetail> {
    /**
     * 新增员工绩效详情
     * @param
     */
    public void saveInfos(List<HrKpiUserAssessorConfig> hrKpiUserAssessorConfigList, List<Long> postIds);


    /**
     * 通过配置id获取Detail信息
     * @param id
     * @return
     */
    public HrKpiUserPerformanceDetailVO getDetailInfo(Long id);

    /**
     * 根据postId获取部门名称和岗位名称
     * @param postId
     * @return
     */
    SysDeptPostName getDeptPostNameInfo(Long postId);
}
